package global
{
	public class GameType
	{
		public static const GAME_DEBUG_ON:int = 1;
		public static const GAME_DEBUG_OFF:int = 0;
		
		// card 
		public static const CARD_IMAGE_SPADES:int = 0; //黑桃
		public static const CARD_IMAGE_HEARTS:int = 1;//红桃 
		public static const CARD_IMAGE_CUBS:int = 2;//梅花
		public static const CARD_IMAGE_DIAMONS:int = 3;//方片
		public static const CARD_IMAGE_JOKER_RED:int = 4;//大王
		public static const CARD_IMAGE_JOKER_BLACK:int = 5;//小王
		
		public static const CARD_VALUE_3:int = 3;
		public static const CARD_VALUE_4:int = 4;
		public static const CARD_VALUE_5:int = 5;
		public static const CARD_VALUE_6:int = 6;
		public static const CARD_VALUE_7:int = 7;
		public static const CARD_VALUE_8:int = 8;
		public static const CARD_VALUE_9:int = 9;
		public static const CARD_VALUE_10:int = 10;
		public static const CARD_VALUE_J:int = 11;
		public static const CARD_VALUE_Q:int = 12;
		public static const CARD_VALUE_K:int = 13;
		public static const CARD_VALUE_A:int = 14;
		public static const CARD_VALUE_2:int = 15;//2
		public static const CARD_VALUE_JOKER:int = 16;//大小王 
		//public static const CARD_VALUE_JOKER_R:int = 17;//大王
		
		public static const CARD_STATE_FOLD:int = 0;//背靠
		public static const CARD_STATE_SHOW:int = 1;//正常显示 
		
		public static const CARD_PLAY_STATE_IN:int = 0;//进去
		public static const CARD_PLAY_STATE_OUT:int = 1;//出来
		
		public static const SIT_STATE_NULL:int = 0;//等待就坐
		public static const SIT_STATE_START_PLAY:int = 1;//开始游戏
		public static const SIT_STATE_WAITING:int = 2;//玩家等待其他玩家出牌
		public static const SIT_STATE_PLAYING:int = 3;//玩家出牌中
		public static const SIT_STATE_SITTING:int = 4;//游戏中
		
		public static const SEAT_HOLDCARDS_UPDATE:int = 9;//持牌更新
		public static const SEAT_CLEAR:int = 10;//清空位置
		
		//结果
		public static const RESULT_NULL:int = 0;
		public static const RESULT_FIRE:int = 1;
		public static const RESULT_WIN:int = 2;
		public static const RESULT_SPRING:int = 3;
		public static const RESULT_ESCAPE:int = 4;
		
		//声音
		public static const SOUND_ALERM:String = "salarm";
		public static const SOUND_GOLD:String = "sgold";
		public static const SOUND_CARD:String = "scard";
		public static const SOUND_SEND_CARD:String = "ssendCard";
		public static const SOUND_PLAY_NOW:String = "salarms";
		
		//
		public static const BUTTON_YES:int = 1;
		public static const BUTTON_NO:int = 0;
	}
}